/**
 * Created by HUANG on 2016/1/21.
 */
'use strict';
angular.module('nec-admin.student')
    .service('studentService', ['$http', 'serverUrl',function ($http, serverUrl) {
        var service = this;
        var url = serverUrl;

        service.searchScore = function(stuId){
            return $http({
                url: url + '/stuScore',
                method: 'GET',
                params:{
                    userId:stuId
                }
            })
        };
    }]);
